home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-12-11 | 2.1 KB | 64 lines | [TEXT/CWIE] |
- // Release Version: $ ODF 3 $
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
-
- #ifndef CONTENT_H
- #define CONTENT_H
-
- //========================================================================================
- #ifndef DEFINES_K
- #include "Defines.k"
- #endif
-
- // ----- Framework Includes -----
- #ifndef FWCONTNT_H
- #include "FWContnt.h"
- #endif
-
- //========================================================================================
- class FW_CKind;
- class CTalkerPart;
- class DevUniv_STalker;
- class FW_CPicture;
-
- //========================================================================================
- class CTalkerContent : public FW_CContent {
- public:
- FW_DECLARE_AUTO(CTalkerContent)
- CTalkerContent(Environment* ev, CTalkerPart* part);
- virtual ~CTalkerContent();
- // overrides
- protected:
- virtual void ExternalizeKind(Environment* ev,
- ODStorageUnit* storageUnit,
- FW_CKind* kind,
- FW_StorageKinds storageKind,
- FW_CPromise* promise,
- FW_CCloneInfo* cloneInfo);
- virtual FW_Boolean InternalizeKind(Environment* ev,
- ODStorageUnit* storageUnit,
- FW_CKind* kind,
- FW_StorageKinds storageKind,
- FW_CCloneInfo* cloneInfo);
- // New members
- public:
- virtual void MySayText(Environment* ev);
- virtual DevUniv_STalker* MyGetTalker();
- virtual FW_CPicture MyGetPicture(Environment* ev);
- protected:
- virtual void MyUseDefaultPicture(Environment* ev);
- FW_Boolean MyInternalizePartKind(Environment* ev, ODStorageUnit* sourceSU,
- ODType valueType);
- FW_Boolean MyInternalizeTEXTData(Environment* ev, ODStorageUnit* sourceSU,
- ODType valueType);
- FW_Boolean MyInternalizePICTData(Environment* ev, ODStorageUnit* sourceSU,
- ODType valueType);
- private:
- CTalkerPart* fTalkerPart;
- ODPtr fTextBuffer; // text to be spoken
- ODULong fTextBytes; // number of bytes to speak
- FW_CPicture fPicture; // FW picture
- DevUniv_STalker* fSOMTalker; // SOM object for speech synthesis
- };
-
- //========================================================================================
- #endif